<?php 	$this->load->view('inc/header');?>

<div class="twidth">
  <div class="blank10"></div>
  <div id="middle" class="clear">
    <div class="w720 left">
      <div id="slide">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=scriptmain name=scriptmain codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="720" height="270">
          <param name="movie" value="/sildes/bcastr.swf?bcastr_xml_url=<?php echo site_url('/main/flashXml_v');?>">
          <param name="quality" value="high">
          <param name=scale value=noscale>
          <param name="LOOP" value="false">
          <param name="menu" value="false">
          <param name="wmode" value="transparent">
          <embed src="bcastr.swf?bcastr_xml_url=<?php echo site_url('/main/flashXml_v');?>" width="720" height="270" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="T" name="scriptmain" menu="false" wmode="transparent"></embed>
        </object>
      </div>
    </div>
    <div class="w250 right">
      <div class="mbox">
        <div class="titcon2">
          <li class="On" onMouseOver="tab(this,10,10)">
            <h2 class="sertrip">旅程规划</h2>
          </li>
          <li class="Off" onMouseOver="tab(this,11,10)">
            <h2 class="serhotel">酒店查询</h2>
          </li>
        </div>
        <div class="cont" style=" height:236px;">
          <div id="etrip_10">
            <div class="simple clear" style=" padding:15px 0 15px 5px;">
              <dl>
                <dt>关键词：</dt>
                <dd>
                  <input id="txtKeyName" name="txtKeyName" type="text" />
                </dd>
              </dl>
              <dl>
                <dt>出发日：</dt>
                <dd>
                  <input id="txtLeaveStartDate" name="txtLeaveStartDate" type="text" onfocus="WdatePicker({doubleCalendar:true,skin:'whyGreen'})" class="Wdate" />
                </dd>
              </dl>
              <dl>
                <dt>返程日：</dt>
                <dd>
                  <input id="txtLeaveEndDate" name="txtLeaveEndDate" type="text" onfocus="WdatePicker({doubleCalendar:true,skin:'whyGreen'})" class="Wdate" />
                </dd>
              </dl>
              <dl>
                <dt>&nbsp;</dt>
                <dd>
                  <input id="btnlSearch" name="btnlSearch" type="button" value="搜索线路" class="btn_g" />
                </dd>
              </dl>
            </div>
          </div>
          <div id="etrip_11" style="display:none">
            <form method="post" action="<?php echo site_url("/hotel/hotelSearch");?>">
              <div class="simple clear" style=" padding:15px 0 15px 5px;">
                <dl>
    
                  <dt>目的地：</dt>
    
                  <dd>
    
                    <select id="dllCity" name="dllCity" style="width:115px;">
    
                      
    
                      <option value="0">请选择城市</option>
    
                      <?php 
                      foreach ($city as $index => $arr)
                      {
                        ?>
                         <option value="<?php echo $index?>"><?php echo $arr['name']?></option>
                         <?php 
                      }
                    
                      ?>
    
                    </select>
    
                  </dd>
    
                </dl>
    
           <!--     <dl>
    
                  <dt>位置：</dt>
    
                  <dd>
    
                    <select id="ddlhArea" name="ddlhArea" style="width:115px;">
    
                      <option value="0">所在地区</option>
    
                    </select>
    
                  </dd>
    
                </dl>
            -->
                <dl>
    
                  <dt>价位：</dt>
    
                  <dd>
    
                    <select id="dllRMB" name="dllRMB" style="width:115px;">
    
                      <option value="0">不限</option>
    
                      <?php 
                      
                      foreach ($price as $id => $arr)
                      {
                        ?>
                         <option value="<?php echo  $arr['classid'] ?>"><?php echo $arr['min'].' - '.$arr['max']?></option>
                        
                     <?php 
                      }
                      
                      
                      
                      ?>
    
                    </select>
    
                  </dd>
    
                </dl>
    
            <!--    <dl>
    
                  <dt>星级：</dt>
    
                  <dd>
    
                    <select id="ddlStar" name="ddlStar" style="width:115px;">
    
                      <option value="0">不限</option>
    
                      
    
                      <option value="1">一星级</option>
    
                      
    
                      <option value="2">二星级</option>
    
                      
    
                      <option value="3">三星级</option>
    
                      
    
                      <option value="4">四星级</option>
    
                      
    
                      <option value="5">五星级</option>
    
                                
                    </select>
    
                  </dd>
    
                </dl>
            -->
                <dl>
    
                  <dt>名称：</dt>
    
                  <dd>
    
                    <input id="txthName" name="txthName" type="text" value="" />
    
                  </dd>
    
                </dl>
    
                <dl>
    
                  <dt>&nbsp;</dt>
    
                  <dd>
    
                    <input id="btnSearch" type="submit" value="搜索酒店" class="btn_g" />
    
                  </dd>
    
                </dl>
    
              </div>
            </form>            
          </div>
        </div>
        <div class="bot">
          <div class="in"></div>
        </div>
      </div>
    </div>
    <div class="blank10"></div>
    <div class="w720 left"> 
      <!--推荐线路，热门线路，最新线路-->
      <div class="mbox">
        <div class="titcon2">
          <li class="On" onMouseOver="tab(this,0,0)">
            <h2 class="tripcomli">推荐门票</h2>
          </li>
          <li class="Off" onMouseOver="tab(this,1,0)">
            <h2 class="triphotli">热门门票</h2>
          </li>
          <li class="Off" onMouseOver="tab(this,2,0)">
            <h2 class="tripnewli">最新门票</h2>
          </li>
        </div>
        <div class="cont indextrip">
          <div id="etrip_0">
            <ul class="imgtrip clear">
<?php		
			$curren_art_id="";$i=0;
			foreach ($RecommendList as $item){//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/ticket/show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i<=2){
					 $ticketTitle=mb_substr($item->ticketTitle,0,9);
?>                  
              <li><a href="<?php echo $links;?>"><img src="<?php echo $pics;?>" alt="<?php echo $item->ticketTitle?>" /></a><em><a href="<?php echo $links;?>" title="<?php echo $ticketTitle?>"><?php echo $ticketTitle?></a></em><span>￥<?php echo $item->pricePer?></span><p><?php echo substr(strip_tags($item->introduction),0,165);?>...</p></li>           
<?php		 }}?>            
			 </ul>
            <div class="blank10"></div>
            <ul class="nl14 clear">
<?php				
			$curren_art_id="";$i=0;
			foreach ($RecommendList as $item)
			{//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/ticket/show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i>2){
					 $ticketTitle=mb_substr($item->ticketTitle,0,20);
?>              
              <li><a href="<?php echo $links;?>" title="<?php echo $item->ticketTitle?>"><?php echo $ticketTitle?></a><span>¥<?php echo $item->pricePer;?></span></li>
<?php		 }}?>            
            </ul>
          </div>
          <div id="etrip_1" style="display:none">
            <ul class="imgtrip clear">
			<?php		
			$curren_art_id="";$i=0;
			foreach ($HotTicketList as $item){//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/ticket/show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i<=2){
					 $ticketTitle=mb_substr($item->ticketTitle,0,9);
			?>                  
              <li><a href="<?php echo $links;?>"><img src="<?php echo $pics;?>" alt="<?php echo $item->ticketTitle?>" /></a><em><a href="<?php echo $links;?>" title="<?php echo $ticketTitle?>"><?php echo $ticketTitle?></a></em><span>￥<?php echo $item->pricePer?></span><p><?php echo substr(strip_tags($item->introduction),0,165);?>...</p></li>           
			<?php }}?>            
			 </ul>
            <div class="blank10"></div>
            <ul class="nl14 clear">
			<?php				
			$curren_art_id="";$i=0;
			foreach ($HotTicketList as $item)
			{//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/ticket/show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i>2){
					 $ticketTitle=mb_substr($item->ticketTitle,0,20);
			?>              
              <li><a href="<?php echo $links;?>" title="<?php echo $item->ticketTitle?>"><?php echo $ticketTitle?></a><span>¥<?php echo $item->pricePer;?></span></li>
			<?php }}?>            
            </ul>
          </div>
          <div id="etrip_2" style="display:none">
            <ul class="imgtrip clear">
			<?php		
			$curren_art_id="";$i=0;
			foreach ($LastTicketList as $item){//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/ticket/show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i<=2){
					 $ticketTitle=mb_substr($item->ticketTitle,0,9);
			?>                  
              <li><a href="<?php echo $links;?>"><img src="<?php echo $pics;?>" alt="<?php echo $item->ticketTitle?>" /></a><em><a href="<?php echo $links;?>" title="<?php echo $ticketTitle?>"><?php echo $ticketTitle?></a></em><span>￥<?php echo $item->pricePer?></span><p><?php echo substr(strip_tags($item->introduction),0,165);?>...</p></li>           
			<?php }}?>            
			 </ul>
            <div class="blank10"></div>
            <ul class="nl14 clear">
			<?php				
			$curren_art_id="";$i=0;
			foreach ($LastTicketList as $item)
			{//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/ticket/show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i>2){
					 $ticketTitle=mb_substr($item->ticketTitle,0,20);
			?>              
              <li><a href="<?php echo $links;?>" title="<?php echo $item->ticketTitle?>"><?php echo $ticketTitle?></a><span>¥<?php echo $item->pricePer;?></span></li>
			<?php }}?>            
            </ul>
          </div>
        </div>
        <div class="bot">
          <div class="in"></div>
        </div>
      </div>
      <!--/推荐线路，热门线路，最新线路--> 
    </div>
    <div class="w250 right"> 
      <!--旅游动态-->
      <div class="rbox">
        <div class="titcon">
          <h2 class="png">温泉动态</h2>
          <a class="moreR" href="<?php echo site_url("/news_cate/sub_newsclass/3");?>">更多&gt;&gt;</a></div>
        <div class="cont">
          <ul class="nl">
          <?php foreach($TopNewsList as $item){?>
            <li><a href="<?php echo site_url("/news_cate/show/".$item->id);?>" title="<?php echo mb_substr($item->news_title, 0,17);?>"><?php echo mb_substr($item->news_title, 0,17);?></a></li>
		<?php }?>	
          </ul>
        </div>
        <div class="bot">
          <div class="in"></div>
        </div>
      </div>
      <!--/旅游动态--> 
      
    </div>
<?php $i=0;
	$ArrClass=array('bendiindex','guoneiindex','guojiindex','zhutiindex');
	foreach($indexpage_lines as $item=>$value){			//分类循环
?>	    
    <div class="blank10"></div>
    <div class="w720 left">
      <div class="tourindex <?php echo $ArrClass[$i];?>">
        <div class="titcon">
          <p class="png" style="padding-left:70px;font-size:18px;color:white;"><b><?php echo $lineclass['parentid'][1][$item];?></b></p>
          <a href="<?php echo site_url();?>/main/category_list/<?php echo $item?>" class="moreR">更多</a></div>
        <div class="cont clear">
          <div class="w220 left">
	<?php 
			$j=0;
			foreach($indexpage_lines[$item] as $key=>$value){
				$pics="";$j++;
				$pics=$this->platform->file_url($indexpage_lines[$item][$key]->folder.'/'.$indexpage_lines[$item][$key]->name.'.'.$indexpage_lines[$item][$key]->type);		
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($j==1){
					   $trav_title=mb_substr($indexpage_lines[$item][$key]->trav_title,0,17);
	?>	          
            <div class="imgsum"> <li><a href="<?php echo site_url();?>/main/line_show/<?php echo $indexpage_lines[$item][$key]->id;?>"><img src="<?php echo $pics;?>" title="<?php echo $indexpage_lines[$item][$key]->trav_title;?>" /><?php echo $trav_title;?></a></li> </div>
	<?php 		}	}?>         
          </div>
          <div class="w480 right">
            <ul class="nl14">
	<?php 
			$j=0;
			foreach($indexpage_lines[$item] as $key=>$value){
				$pics="";$j++;
				$pics=$this->platform->file_url($indexpage_lines[$item][$key]->folder.'/'.$indexpage_lines[$item][$key]->name.'.'.$indexpage_lines[$item][$key]->type);		
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($j<=7){
					   $trav_title=mb_substr($indexpage_lines[$item][$key]->trav_title,0,17);
	?>            
              <li><a href="<?php echo site_url();?>/main/line_show/<?php echo $indexpage_lines[$item][$key]->id;?>" title="<?php echo $indexpage_lines[$item][$key]->trav_title;?>"><?php echo $trav_title;?></a><span>¥<?php echo $indexpage_lines[$item][$key]->price_per;?></span></li>
    <?php 		}	}?>               
            </ul>
          </div>
        </div>
      </div>
    </div>
   
    <?php if($i==2){?>
		<div class="w250 right"> <!--导游风采-->
          <div class="lbox indextouror">
            <div class="titcon">
              <h2 class="png">导游风采</h2>
              <a href="/guidelist.aspx" class="moreR">更多&gt;&gt;</a></div>
            <div class="cont">
              <ul class="imglist clear">
                <li><a href="/guideshow.aspx?id=6"><img src="../attachments/2012/img23610649.jpg" alt="李娜" />李娜</a></li><li><a href="/guideshow.aspx?id=5"><img src="../attachments/2012/img23610628.jpg" alt="西子" />西子</a></li><li><a href="/guideshow.aspx?id=4"><img src="../attachments/2012/img23611465.jpg" alt="李美子" />李美子</a></li><li><a href="/guideshow.aspx?id=3"><img src="../attachments/2012/img21213574.jpg" alt="孙凤娜" />孙凤娜</a></li><li><a href="/guideshow.aspx?id=2"><img src="../attachments/2012/img21212200.jpg" alt="王晴" />王晴</a></li><li><a href="/guideshow.aspx?id=1"><img src="../attachments/2012/img2124228.jpg" alt="张芳" />张芳</a></li>
              </ul>
            </div>
            <div class="bot">
              <div class="in"></div>
            </div>
          </div>
       </div>  <!--/导游风采-->
      <?php }?>   
       <div class="w250 right">  </div>
<?php $i++; }?>	
	<div class="w250 right"> 	 
      <!--景区门票-->
      <div class="lbox" style="height:288px;">
        <div class="titcon">
          <h2 class="png">温泉门票</h2>
        </div>
        <div class="cont">
          <ul class="nl">
			<?php foreach($LastTicketList1 as $item){
					// $pics="";$links="";
					// $pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
					$links=site_url()."/ticket/show/".$item->id;			
					//if(!$pics){$pics="img/nopic.jpg";}
			?>				  
            <li><a href="<?php echo $links;?>"><?php echo $item->ticketTitle?></a><span>¥<?php echo $item->pricePer?></span></li>
			<?php }?>	
          </ul>
        </div>
        <div class="bot">
          <div class="in"></div>
        </div>
      </div>
      <!--/景区门票--> 
      
    </div>
    <div class="blank10"></div>
    <div class="blank10"></div>
    <div class="w720 left">
      <div class="indexhotel">
        <div class="titcon">
          <h2 class="png">酒店预订</h2>
          <p></p>
          <a href="<?php echo site_url("/hotel");?>" class="moreR">更多&gt;&gt;</a> </div>
        <div class="cont clear">
          <ul class="hoteltop2">
            <?php 
            $i=0;
            foreach ($topHotelList as $id => $arr)
            {
            	$i++;
            	if($i>2){break;}
            	$pics = $this->platform->file_url($arr['folder'].'/'.$arr['name'].'.'.$arr['type']);
            ?>          
            <li><a href="<?php echo site_url("/hotel/hotel_show/".$arr['id']); ?>"><img src="<?php echo $pics; ?>" alt="<?php echo $arr['hotel_name']?>" /></a><em><a href="<?php echo site_url("/hotel/hotel_show/".$arr['id']); ?>"><?php echo $arr['hotel_name']?></a></em><p>酒店星级：<img src="img/s2.png" align="absmiddle" alt="准二星级" /><br />地址：联峰山脚下<br />门市价：￥200&nbsp;&nbsp;平日价：￥200&nbsp;&nbsp;周末价：￥200</p> </li>
			<?php }?>   
          </ul>
          <dl>
            <dt>酒店名称<!-- <span class="normal">门市价</span><span class="end">周末价</span> --></dt>
            <dd>
            <?php foreach ($topHotelList as $id => $arr)
            {
            //	$pics = $this->platform->file_url($arr['folder'].'/'.$arr['name'].'.'.$arr['type']);
            ?>
           		 <li><a href="<?php echo site_url("/hotel/hotel_show/".$arr['id']); ?>" title="<?php echo $arr['hotel_name']?>"><?php echo $arr['hotel_name']?></a><!-- <span class="normal">¥200</span><span class="end">¥200</span> --></li>
				
			<?php }?>              
           	</dd>
          </dl>
        </div>
      </div>
    </div>
    <div class="w250 right">
      <div class="indextool">
        <h2>旅游工具</h2>
        <li><a href="#">酒店宾馆公寓<font color="#a0bf01">大全</font></a></li>
        <li><a href="#">订车出行<font color="#089fb2">旅游</font></a></li>
        <li><a href="#">各地城市天气<font color="#c95526">预报</font></a></li>
        <li><a href="#">飞机火车票<font color="#c40376">查询</font></a></li>
        <li><a href="#">城市公交<font color="#fd0304">线路</font></a></li>
        <li><a href="#">付款支付<font color="#e3a325">说明</font></a></li>
      </div>
    </div>
    <div class="blank10"></div>
<div class="indexnews">
      <h2>旅游风情</h2>
      <!--攻略-->
      <div class="indexnewsbig" style="top:19px;">
        <span style="font-size:15px; font-weight:bold; color:#8ed5ec;padding-left:21px;"><?php echo $tagsclass["classname"][$IndexGuide["id"][0]]?></span>
        <a class="moreR" style="padding-top:5px;" href="<?php echo site_url("/strategy/index/".$IndexGuide["id"][0]."");?>">更多&gt;&gt;</a>
        <ul class="nl">
         <?php foreach($IndexGuide[0][$IndexGuide["id"][0]] as $item){?>	
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$item->id."");?>" class="Tlink" title="<?php echo $item->strategy_title;?>"><?php echo $item->strategy_title;?></a></li>
         <?php }?> 
        </ul>
      </div>
      <!--/攻略--> 
    <?php if(!empty($IndexGuide[1])){ //判断数组是否为空?> 
      <!--攻略分类1-->
      <div class="indexnewsmini">
        <span style="font-size:15px; font-weight:bold; color:#8ed5ec;padding-left:20px;"><?php echo $tagsclass["classname"][$IndexGuide["id"][1]]?></span>
         <a class="moreR"  href="<?php echo site_url("/strategy/index/".$IndexGuide["id"][1]."");?>">更多&gt;&gt;</a>
        <ul class="imglist" style="margin-top:15px;">
		<?php 
		if(!empty($IndexGuide[1][$IndexGuide["id"][1]][0])){
            $sitem=$IndexGuide[1][$IndexGuide["id"][1]][0];
            $pics=$this->platform->file_url($sitem->folder.'/'.$sitem->name.'.'.$sitem->type);		
            if(!$pics){$pics="img/nopic.jpg";}
        ?>
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$sitem->id."");?>" title="<?php echo $sitem->strategy_title;?>"><img src="<?php echo $pics;?>"></a></li>
        <?php }?>  
        </ul>
        <ul class="nl">
		<?php 
            $slist=$IndexGuide[1][$IndexGuide["id"][1]];
			foreach($slist as $item){
        ?>        
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$item->id."");?>" title="<?php echo $item->strategy_title;?>"><?php echo mb_substr($item->strategy_title,0,11);?></a></li>
		 <?php }?> 
        </ul>
      </div>
      <!--/攻略分类1--> 
    <?php } //判断数组是否为空?> 
   <?php if(!empty($IndexGuide[2])){ //判断数组是否为空?> 
      <!--攻略分类2-->
      <div class="indexnewsmini">
        <span style="font-size:15px; font-weight:bold; color:#8ed5ec;padding-left:20px;"><?php echo $tagsclass["classname"][$IndexGuide["id"][2]]?></span>
         <a class="moreR"  href="<?php echo site_url("/strategy/index/".$IndexGuide["id"][2]."");?>">更多&gt;&gt;</a>
        <ul class="imglist" style="margin-top:15px;">
		<?php 
		if(!empty($IndexGuide[2][$IndexGuide["id"][2]][0])){
            $sitem=$IndexGuide[2][$IndexGuide["id"][2]][0];
            $pics=$this->platform->file_url($sitem->folder.'/'.$sitem->name.'.'.$sitem->type);		
            if(!$pics){$pics="img/nopic.jpg";}
        ?>
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$sitem->id."");?>" title="<?php echo $sitem->strategy_title;?>"><img src="<?php echo $pics;?>"></a></li>
        <?php }?>  
        </ul>
        <ul class="nl">
		<?php 
            $slist=$IndexGuide[2][$IndexGuide["id"][2]];
			foreach($slist as $item){
        ?>        
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$item->id."");?>" title="<?php echo $item->strategy_title;?>"><?php echo mb_substr($item->strategy_title,0,11);?></a></li>
		 <?php }?> 
        </ul>
      </div>
      <!--/攻略分类2--> 
    <?php } //判断数组是否为空?> 
   <?php if(!empty($IndexGuide[3])){ //判断数组是否为空?> 
      <!--攻略分类3-->
      <div class="indexnewsmini">
        <span style="font-size:15px; font-weight:bold; color:#8ed5ec;padding-left:20px;"><?php echo $tagsclass["classname"][$IndexGuide["id"][3]]?></span>
         <a class="moreR"  href="<?php echo site_url("/strategy/index/".$IndexGuide["id"][3]."");?>">更多&gt;&gt;</a>
        <ul class="imglist" style="margin-top:15px;">
		<?php 
		if(!empty($IndexGuide[3][$IndexGuide["id"][3]][0])){
            $sitem=$IndexGuide[3][$IndexGuide["id"][3]][0];
            $pics=$this->platform->file_url($sitem->folder.'/'.$sitem->name.'.'.$sitem->type);		
            if(!$pics){$pics="img/nopic.jpg";}
        ?>
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$sitem->id."");?>" title="<?php echo $sitem->strategy_title;?>"><img src="<?php echo $pics;?>"></a></li>
        <?php }?>  
        </ul>
        <ul class="nl">
		<?php 
            $slist=$IndexGuide[3][$IndexGuide["id"][3]];
			foreach($slist as $item){
        ?>        
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$item->id."");?>" title="<?php echo $item->strategy_title;?>"><?php echo mb_substr($item->strategy_title,0,11);?></a></li>
		 <?php }?> 
        </ul>
      </div>
      <!--/攻略分类3--> 
    <?php } //判断数组是否为空?> 
   <?php if(!empty($IndexGuide[4])){ //判断数组是否为空?> 
      <!--攻略分类4-->
      <div class="indexnewsmini">
        <span style="font-size:15px; font-weight:bold; color:#8ed5ec;padding-left:20px;"><?php echo $tagsclass["classname"][$IndexGuide["id"][4]]?></span>
         <a class="moreR"  href="<?php echo site_url("/strategy/index/".$IndexGuide["id"][4]."");?>">更多&gt;&gt;</a>
        <ul class="imglist" style="margin-top:15px;">
		<?php 
		if(!empty($IndexGuide[4][$IndexGuide["id"][4]][0])){
            $sitem=$IndexGuide[4][$IndexGuide["id"][4]][0];
            $pics=$this->platform->file_url($sitem->folder.'/'.$sitem->name.'.'.$sitem->type);		
            if(!$pics){$pics="img/nopic.jpg";}
        ?>
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$sitem->id."");?>" title="<?php echo $sitem->strategy_title;?>"><img src="<?php echo $pics;?>"></a></li>
        <?php }?>  
        </ul>
        <ul class="nl">
		<?php 
            $slist=$IndexGuide[1][$IndexGuide["id"][1]];
			foreach($slist as $item){
        ?>        
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$item->id."");?>" title="<?php echo $item->strategy_title;?>"><?php echo mb_substr($item->strategy_title,0,11);?></a></li>
		 <?php }?> 
        </ul>
      </div>
      <!--/攻略分类4--> 
    <?php } //判断数组是否为空?> 
    </div>    
    <div class="blank10"></div>
    <div class="linkcon">  </div>
  </div>
  
  <dl id="footguide">
<dt>旅游网站</dt>
<dd><li>价格实惠<br />支付方便</li>
<li>强强联手<br />优质服务</li>
<li>全球品牌<br />安全保证</li>
<li>全天客服<br />实时在线</li>
<li>流程简单<br />操作方便</li></dd>
</dl>
</div>
<div id="footer">
  <div class="footnav"><a href="/intro.aspx?ID=7" target="_blank">市场合作</a> | <a href="/intro.aspx?ID=6" target="_blank">广告投放</a> | <a href="/intro.aspx?ID=5" target="_blank">服务条款</a> | <a href="/admin/login.aspx" target="_blank">管理入口</a> | <a href="#" target="_blank">在线客服</a> | <a href="/intro.aspx?ID=1" target="_blank">联系我们</a> </div>
  <div class="copy"><p>
	版权所有&nbsp;全国客服热线：400 000 0000 客服QQ:123456 100000<br />
	<span style="color: #f00">底部信息可以在后台系统设置中进行修改</span><br />
	Copyright &copy; XXXX公司 &nbsp; ICP备000000号</p></div>
</div>
<div id="bodybg"></div>
<!--[if IE 6]>
<script src="js/DD_belatedPNG.js"></script>
<script>
  DD_belatedPNG.fix('img,.png');
</script>
<![endif]-->
 
<script type="text/javascript">
if($.browser.msie){
	var iever=$.browser.version
}
//ie6初始化表单样式
$(".toptour").find("li:first").addClass("thisli");
$(".toptour").find("span:lt(3)").addClass("topspan");
$(".toptour li").hover(function(){
	$(".toptour li").removeClass("thisli");	
	$(this).addClass("thisli");
	}, function(){
});

$(".tourindex .nl14").find("li:lt(3)").addClass("first");

$(".tourlist dt").html($(".tourlist dd li:first").html());
$(".tourlist dt").append("<a class='btn' href='"+$(".tourlist dd li:first a:first").attr("href")+"'>查看详情</a>");
$(".tourlist dd").find("li").each(function(){
	$(this).mouseover(function(){
		$(".tourlist dt").html($(this).html());
		$(".tourlist dt").append("<a class='btn' href='"+$(this).find("a:first").attr("href")+"'>查看详情</a>");
		
	});
	
})




</script>
</body>
</html>
